import Vue from 'vue'
import App from './App.vue'
import 'amfe-flexible'
import router from './router'
import store from './store'
import { fromNow } from '@/utils/date-time'
import '@/utils/vant'
import '@/style/index.scss'
Vue.config.productionTip = false
Vue.filter('fromNow', function(val) {
  return fromNow(val)
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
